<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<style type="text/css">
	.box{
		width: 500px;
		height:500px;
		background: red url() 0 0 no-repeat;
		margin:0px auto;

	}
	p{
		background:blue url() 0 0 no-repeat;
		color: red;
	}

	</style>
	<title>Document</title>
</head>
<body>
	<?php for ($i=1; $i <=10 ; $i++) { ?>
	<div class="box">
	<h2><?php echo $i ?>百度</h2>
	<?php if ($i!==5) { ?>
		<img src="https://www.baidu.com/img/bd_logo1.png" alt="">
	<?php } ?>
	<p>描叙坎坎坷坷扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩</p>
	</div>
	<?php } ?>

</body>
</html>